home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
workbench
/
benchtrash
/
extras
/
removedevice
< prev
next >
Wrap
Text File
|
1999-12-06
|
402b
|
22 lines
;$VER: Full device remover
;Steve Clack (Liquid Software Design ) v1.0
;Call the Total Eclipse BBS on +44(0)1983 522428!
;(make sure the 's' protect bit is set on this file!)
.key Device/A
.bra {
.ket }
FailAt 100
ResolveDeviceName >ENV:DEV {Device}
Echo >ENV:DEVO $DEV NOLINE
Echo >>ENV:DEVO ":" NOLINE
Assign {Device} DISMOUNT
Assign $DEVO DISMOUNT
Delete >nil: ENV:DEV
Delete >nil: ENV:DEVO